Add option imagemagick-types-enable
authorGlenn Morris <rgm@gnu.org>
Thu, 31 May 2012 07:22:33 +0000 (00:22 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 31 May 2012 07:22:33 +0000 (00:22 -0700)
commit25feb30f605e76cb9dde1de04a9944c62b78b32a
tree15e339ac6831df895e7c869d709b7cfacd8ecec5
parente502c778da609bda51d033acb298dec0283733e3
Add option imagemagick-types-enable

* lisp/image.el: For clarity, call imagemagick-register-types at
top-level, rather than relying on a custom :initialize.
(imagemagick-types-enable): New option.
(imagemagick-register-types): Respect imagemagick-types-inhibit.
If disabling support, remove elements altogether rather
than using an impossible regexp.
(imagemagick-types-inhibit): Give it the default init function.

* src/image.c (Fimagemagick_types): Doc fix.

* etc/NEWS: Mention this.
etc/NEWS
lisp/ChangeLog
lisp/image.el
src/ChangeLog
src/image.c